package cn.itcalvin.sncoal.cth.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import javax.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 系统用户管理系统
 */
@ApiModel(description="系统用户管理系统")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "rel_user_system")
public class RelUserSystem {
    /**
     * 主键
     */
    @Id
    @Column(name = "id")
    @ApiModelProperty(value="主键")
    private Long id;

    /**
     * 用户ID
     */
    @Column(name = "userId")
    @ApiModelProperty(value="用户ID")
    private Long userId;

    /**
     * 系统ID
     */
    @Column(name = "systemId")
    @ApiModelProperty(value="系统ID")
    private Long systemId;

    /**
     * 创建人
     */
    @Column(name = "createId")
    @ApiModelProperty(value="创建人")
    private Long createId;

    /**
     * 创建时间
     */
    @Column(name = "createTime")
    @ApiModelProperty(value="创建时间")
    private Date createTime;
}